<?php


namespace app\admin\controller\diy;

use app\admin\controller\AdminController;
use app\admin\service\diy\LinkService;
use think\response\Json;

class Link extends AdminController
{
    /**
     * 获取链接列表
     * @return Json
     */
    public function list()
    {
        return $this->data(LinkService::getList());
    }
}